package com.iengoo.servlet.service.impl;

import com.iengoo.servlet.dao.TicketDao;
import com.iengoo.servlet.dao.impl.TicketDaoImpl;
import com.iengoo.servlet.entity.Ticket;
import com.iengoo.servlet.model.Page;
import com.iengoo.servlet.service.TicketService;

import java.util.List;

/**
 * @author zpym
 * @CopyRight (C) http://www.iengoo.com
 * @brief
 * @email 122162005@qq.com
 * @date 2019-01-29 11:34
 */
public class TicketServiceImpl implements TicketService {
    private TicketDao dao = new TicketDaoImpl();
    @Override
    public List<Ticket> query(Page page) {
        return dao.query(page);
    }

    @Override
    public void create(Ticket ticket) {

    }

    @Override
    public void delete(int id) {

    }

    @Override
    public void update(Ticket ticket) {

    }

    @Override
    public Ticket findById(int id) {
        return null;
    }
}
